package com.rybbaby.tss.platform.sysDictionary.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.platform.sysDictionary.entity.SysDictionary;
import com.rybbaby.tss.platform.sysDictionary.service.ISysDictionaryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @description 数据字典数据库操作服务实现
 * 
 * @author 谢进伟
 * 
 * @createDate 2016-11-30 下午3:24:25
 */
@Service
@Transactional
public class SysDictionaryServiceImp extends BaseServiceImp<SysDictionary> implements ISysDictionaryService {

	@Override
	public List<Map<String , Object>> groupIdDatasource(){
		String sql1 = "SELECT id,name FROM sys_dictionary_group";
		List<Map<String , Object>> groupId_datasources = this.findForJdbc(sql1 , null);
		return groupId_datasources;
	}
	
	
}
